package aiball


class Team {

	String name;
	Player player1;
	Player player2;
	Player player3;
	Player player4;
	Player player5;
	String logoURL;
	String description;
	String warcry;
	int model;
	
	
    static constraints = {
		name size: 2..32, blank: false, matches: "[a-zA-Z_0-9]+", unique: true
		logoURL display: true, blank: true
		description size: 0..512
		warcry size: 0..64
		player1 display: false 
		player2 display: false
		player3 display: false
		player4 display: false
		player5 display: false
		model blank: false
    }
}
